home *** CD-ROM | disk | FTP | other *** search
- object BtnBottomDlg: TBtnBottomDlg
- Left = 84
- Top = 148
- ActiveControl = RegisterFuncBtn
- BorderStyle = bsDialog
- Caption = 'Extensibility Demo'
- ClientHeight = 397
- ClientWidth = 627
- Font.Color = clBlack
- Font.Height = -14
- Font.Name = 'MS Sans Serif'
- Font.Style = [fsBold]
- PixelsPerInch = 120
- Position = poScreenCenter
- TextHeight = 16
- object Bevel1: TBevel
- Left = 10
- Top = 10
- Width = 471
- Height = 366
- Shape = bsFrame
- IsControl = True
- end
- object RunBtn: TSpeedButton
- Left = 433
- Top = 35
- Width = 31
- Height = 31
- Hint = 'Execute the function in the edit box'
- Glyph.Data = {
- 78010000424D7801000000000000760000002800000020000000100000000100
- 04000000000000000000120B0000120B00000000000000000000000000000000
- 800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
- FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00555555555555
- 555555555555555555555555555555555555555555FF55555555555559055555
- 55555555577FF5555555555599905555555555557777F5555555555599905555
- 555555557777FF5555555559999905555555555777777F555555559999990555
- 5555557777777FF5555557990599905555555777757777F55555790555599055
- 55557775555777FF5555555555599905555555555557777F5555555555559905
- 555555555555777FF5555555555559905555555555555777FF55555555555579
- 05555555555555777FF5555555555557905555555555555777FF555555555555
- 59905555555555555777555555555555555555555555555555550000}
- NumGlyphs = 2
- OnClick = RunBtnClick
- end
- object Label1: TLabel
- Left = 25
- Top = 275
- Width = 61
- Height = 16
- Caption = '&Result'
- FocusControl = Resultmemo
- end
- object Label2: TLabel
- Left = 25
- Top = 15
- Width = 59
- Height = 16
- Caption = '&Function'
- FocusControl = newFuncsCombo
- end
- object CancelBtn: TBitBtn
- Left = 497
- Top = 240
- Width = 115
- Height = 51
- TabOrder = 0
- Kind = bkClose
- Margin = 2
- Style = bsNew
- Spacing = -1
- IsControl = True
- end
- object HelpBtn: TBitBtn
- Left = 496
- Top = 302
- Width = 115
- Height = 51
- TabOrder = 1
- OnClick = HelpBtnClick
- Kind = bkHelp
- Margin = 2
- Style = bsNew
- Spacing = -1
- IsControl = True
- end
- object newFuncsCombo: TComboBox
- Left = 25
- Top = 35
- Width = 396
- Height = 24
- ItemHeight = 16
- TabOrder = 2
- end
- object NewFuncsListbox: TListBox
- Left = 25
- Top = 70
- Width = 441
- Height = 191
- Enabled = False
- ItemHeight = 16
- Items.Strings = (
- ' Copy("exprlist.txt","newfil.txt") '
- ' Rename("newfil.txt","newtxt.old")'
- ' exec("calc.exe", SW_SHOWNORMAL) '
- ' execwait("notepad.exe",SW_MAXIMIZE)'
- ' delete("myfile.fil")'
- ' errormsg("This is an error box")'
- ' msgbox("This is a message box") '
- ' beep( MB_ICONHAND )'
- ' yesno("Have you made a backup ?")'
- ' yesnocancel("Would you like to save your work ?")'
- ' inputstring("What is your name","Name","Bob")')
- TabOrder = 3
- OnClick = NewFuncsListboxClick
- end
- object Resultmemo: TMemo
- Left = 25
- Top = 295
- Width = 441
- Height = 61
- Lines.Strings = (
- '')
- TabOrder = 4
- end
- object RegisterFuncBtn: TBitBtn
- Left = 495
- Top = 15
- Width = 115
- Height = 51
- Hint = 'Register the functions used in the listbox'
- Caption = 'Register'
- TabOrder = 5
- OnClick = RegisterFuncBtnClick
- Style = bsNew
- end
- object UnregisterBtn: TBitBtn
- Left = 494
- Top = 70
- Width = 115
- Height = 51
- Hint = 'Unregister the functions used in the listbox'
- Caption = 'Unregister'
- TabOrder = 6
- OnClick = UnregisterBtnClick
- Style = bsNew
- end
- object SimpleExpression: TExpression
- UseExceptions = False
- Left = 510
- Top = 145
- end
- end
-